import request from '@/utils/request'

export function findFormList(params) {
  return request({
    url: '/sys/template/form/findList',
    method: 'get',
    params:params
  })
}

export function saveForm(params) {
  return request({
    url: '/sys/template/form/save',
    method: 'post',
    params:params
  })
}

export function deleteForm(params) {
  return request({
    url: '/sys/template/form/delete',
    method: 'get',
    params:params
  })
}

export function findFormFieldList(params) {
  return request({
    url: '/sys/template/form/field/findList',
    method: 'get',
    params:params
  })
}

export function saveFormField(params) {
  return request({
    url: '/sys/template/form/field/save',
    method: 'post',
    params:params
  })
}

export function deleteFormField(params) {
  return request({
    url: '/sys/template/form/field/delete',
    method: 'get',
    params:params
  })
}
